﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A17 RID: 2583
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LCCKOAPCBNI : IMessage<LCCKOAPCBNI>, IMessage, IEquatable<LCCKOAPCBNI>, IDeepCloneable<LCCKOAPCBNI>, IBufferMessage
	{
		// Token: 0x170020AC RID: 8364
		// (get) Token: 0x060073BE RID: 29630 RVA: 0x00135AE1 File Offset: 0x00133CE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LCCKOAPCBNI> Parser
		{
			get
			{
				return LCCKOAPCBNI._parser;
			}
		}

		// Token: 0x170020AD RID: 8365
		// (get) Token: 0x060073BF RID: 29631 RVA: 0x00135AE8 File Offset: 0x00133CE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LCCKOAPCBNIReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170020AE RID: 8366
		// (get) Token: 0x060073C0 RID: 29632 RVA: 0x00135AFA File Offset: 0x00133CFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LCCKOAPCBNI.Descriptor;
			}
		}

		// Token: 0x060073C1 RID: 29633 RVA: 0x00135B01 File Offset: 0x00133D01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LCCKOAPCBNI()
		{
		}

		// Token: 0x060073C2 RID: 29634 RVA: 0x00135B09 File Offset: 0x00133D09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LCCKOAPCBNI(LCCKOAPCBNI other) : this()
		{
			this.miracleInfo_ = ((other.miracleInfo_ != null) ? other.miracleInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060073C3 RID: 29635 RVA: 0x00135B3E File Offset: 0x00133D3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LCCKOAPCBNI Clone()
		{
			return new LCCKOAPCBNI(this);
		}

		// Token: 0x170020AF RID: 8367
		// (get) Token: 0x060073C4 RID: 29636 RVA: 0x00135B46 File Offset: 0x00133D46
		// (set) Token: 0x060073C5 RID: 29637 RVA: 0x00135B4E File Offset: 0x00133D4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameRogueMiracle MiracleInfo
		{
			get
			{
				return this.miracleInfo_;
			}
			set
			{
				this.miracleInfo_ = value;
			}
		}

		// Token: 0x060073C6 RID: 29638 RVA: 0x00135B57 File Offset: 0x00133D57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LCCKOAPCBNI);
		}

		// Token: 0x060073C7 RID: 29639 RVA: 0x00135B65 File Offset: 0x00133D65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LCCKOAPCBNI other)
		{
			return other != null && (other == this || (object.Equals(this.MiracleInfo, other.MiracleInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060073C8 RID: 29640 RVA: 0x00135B98 File Offset: 0x00133D98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.miracleInfo_ != null)
			{
				num ^= this.MiracleInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060073C9 RID: 29641 RVA: 0x00135BD4 File Offset: 0x00133DD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060073CA RID: 29642 RVA: 0x00135BDC File Offset: 0x00133DDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060073CB RID: 29643 RVA: 0x00135BE5 File Offset: 0x00133DE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.miracleInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.MiracleInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060073CC RID: 29644 RVA: 0x00135C18 File Offset: 0x00133E18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.miracleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MiracleInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060073CD RID: 29645 RVA: 0x00135C58 File Offset: 0x00133E58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LCCKOAPCBNI other)
		{
			if (other == null)
			{
				return;
			}
			if (other.miracleInfo_ != null)
			{
				if (this.miracleInfo_ == null)
				{
					this.MiracleInfo = new GameRogueMiracle();
				}
				this.MiracleInfo.MergeFrom(other.MiracleInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060073CE RID: 29646 RVA: 0x00135CAC File Offset: 0x00133EAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060073CF RID: 29647 RVA: 0x00135CB8 File Offset: 0x00133EB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.miracleInfo_ == null)
					{
						this.MiracleInfo = new GameRogueMiracle();
					}
					input.ReadMessage(this.MiracleInfo);
				}
			}
		}

		// Token: 0x04002C46 RID: 11334
		private static readonly MessageParser<LCCKOAPCBNI> _parser = new MessageParser<LCCKOAPCBNI>(() => new LCCKOAPCBNI());

		// Token: 0x04002C47 RID: 11335
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002C48 RID: 11336
		public const int MiracleInfoFieldNumber = 13;

		// Token: 0x04002C49 RID: 11337
		private GameRogueMiracle miracleInfo_;
	}
}
